<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:general="http://java.sun.com/jsf/composite/general"
      template="/templates/template.xhtml">

<ui:define name="main" >	
				
			<h:messages styleClass="error"></h:messages>
	<h:form>


<table class="tabledata">
<tr>
	<th colspan="4">#{i18n.nuevaVersion_control_coste}</th>
</tr>
<tr>
	<td class="tddatafield"><h:outputLabel value="Riesgos: "></h:outputLabel></td>
	<td colspan="3"> <h:inputTextarea value="#{versionBean.version.riesgos}" ></h:inputTextarea></td>
</tr>
<tr>
	<td><h:outputLabel value="#{i18n.nuevaVersion_inicia} "></h:outputLabel></td>
	<td colspan="3"><h:inputTextarea value="#{versionBean.version.inicio}" ></h:inputTextarea></td>
</tr>
<tr>
	<td><h:outputLabel value="#{i18n.nuevaVersion_depende} "></h:outputLabel></td>
	<td colspan="3"><h:inputTextarea value="#{versionBean.version.dependencia}" ></h:inputTextarea></td>
</tr>
<tr>	
	<td><h:outputLabel value="#{i18n.nuevaVersion_impacto} "></h:outputLabel></td>
	<td colspan="3"><h:inputTextarea value="#{versionBean.version.impacto}" ></h:inputTextarea></td>
</tr>
<tr>
	<td><h:outputLabel value="#{i18n.nuevaVersion_estimacion}"></h:outputLabel></td>
	<td colspan="3"><h:inputText value="#{versionBean.version.estimacion}" size="10" maxlength="10"></h:inputText>#{i18n.nuevaVersion_horas}</td>
</tr>
<tr>
	<td><h:outputLabel value="#{i18n.nuevaVersion_coste}"></h:outputLabel></td>
	<td><h:inputText value="#{versionBean.version.coste}" size="10" maxlength="10"></h:inputText>  #{i18n.nuevaVersion_horas}</td>

	<td><h:outputLabel value="#{i18n.nuevaVersion_coste_def} "></h:outputLabel></td>
	<td><h:inputText value="#{versionBean.version.costeDefinicion}" size="10" maxlength="10"></h:inputText>  #{i18n.nuevaVersion_horas}</td>
</tr>
<tr>	
	<td><h:outputLabel value="#{i18n.nuevaVersion_centro_coste_des}"></h:outputLabel></td>
	<td><h:inputText value="#{versionBean.version.centroCosteDesa}" size="10" maxlength="10"></h:inputText></td>

	<td><h:outputLabel value="#{i18n.nuevaVersion_centro_coste_def}"></h:outputLabel></td>
	<td><h:inputText value="#{versionBean.version.centroCosteDef}" size="10" maxlength="10"></h:inputText></td>
</tr>   		 
</table>


<h:commandButton value="#{i18n.nuevaVersion_grabar}" action="#{versionController.grabarVersion}"></h:commandButton>

</h:form>

</ui:define></ui:composition>





